// RTS engine
// Martin Dorazil 2013
//
// GUI class
//  game GUI layout is simply one form over whole screen
//  consist of another forms, buttons or labels
//  tree structure, this is ROOT
//  using LUA scripts for initialization and event control

#pragma once

#include "Form.h"
#include "Label.h"
#include "Button.h"
#include "../LUAscripting/LuaScript.h"
#include "../engine/engineSettings.h"

namespace Gadgets
{

class GUI: public LuaScript::LuaScript
{
public:
	GUI();
	virtual ~GUI(void);

	void draw();
protected:
	virtual void bindClass();

	// pointer to screen main form
	Form* screen;
};

extern GUI *gameGui;

void initGui();
void deleteGui();
}

